package com.fwj.designmodelexample.observeddemo;

/**
 * @author stone.feng
 * @since 2019-03-04
 */
public class Test {

    public static void main(String[] args) {
        Cat cat = new Cat();
        Master master = new Master(cat);
        Mouse mouse = new Mouse(cat);
        cat.cry();
    }
}
